package com.example.applets.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 菜单
 * </p>
 *
 * @author 云烟成雨丶
 * @since 2020-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("w_menu")
@ApiModel(value="Menu对象", description="菜单")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "地址")
    private String url;

    @ApiModelProperty(value = "名称")
    private String mtext;

    @ApiModelProperty(value = "排序")
    private Integer ordernum;

    @ApiModelProperty(value = "是菜单还是按钮或者文件夹")
    private String ismenu;

    @ApiModelProperty(value = "上级")
    private Long parentid;


}
